package org.cis.jproyinv.proyecto.vista;

import java.util.ArrayList;
import java.util.List;
import javax.swing.JOptionPane;
import org.cis.jproyinv.comun.dao.EstudianteDao;
import org.cis.jproyinv.comun.vistas.BuscarDocente;
import org.cis.jproyinv.comun.vistas.BuscarEstudiante;
import org.cis.jproyinv.proyecto.dao.LineaInvestigacionDao;
import org.cis.jproyinv.proyecto.dao.ObjetivoDao;
import org.cis.jproyinv.proyecto.modelo.Autor;
import org.cis.jproyinv.proyecto.modelo.Cronograma;
import org.cis.jproyinv.proyecto.modelo.DirectorProyecto;
import org.cis.jproyinv.proyecto.modelo.EstadoProyecto;
import org.cis.jproyinv.proyecto.modelo.LineaInvestigacion;
import org.cis.jproyinv.proyecto.modelo.Objetivo;
import org.cis.jproyinv.proyecto.modelo.ProyectoInvestigacion;
import org.cis.jproyinv.proyecto.modelo.Renuncia;
import org.cis.jproyinv.proyecto.modelo.TipoObjetivo;
import org.cis.jproyinv.proyecto.modelo.TipoProyectoInvestigacion;
import org.cis.jproyinv.proyecto.negocio.AdministrarProyectoInvestigacionUCController;
import org.jdesktop.observablecollections.ObservableList;

public class EditarProyectoInvestigacion extends javax.swing.JDialog {

    public AdministrarProyectoInvestigacionUCController proyectoUCC = new AdministrarProyectoInvestigacionUCController();
    public boolean bandera = false;
    public boolean editarObjetivo = false;
    public BuscarDocente buscarDocenteInvokes = new BuscarDocente(true);
    public BuscarEstudiante buscarEstudianteInvokes = new BuscarEstudiante(true);
    public String renuncia = "";

    public EditarProyectoInvestigacion(boolean bandera, ProyectoInvestigacion proyecto) {
        super(new javax.swing.JFrame(), true);
        initComponents();
        this.setLocationRelativeTo(this);
        for (LineaInvestigacion lina : new LineaInvestigacionDao().buscarTodos()) {
            cbxLineaInvestigacion.addItem(lina.getNombre());
        }
        this.bandera = bandera;
        if (bandera == true) {
            proyectoUCC = new AdministrarProyectoInvestigacionUCController();
            proyectoUCC.setProyecto(proyecto);
            proyectoUCC.setCronograma(proyecto.getCronograma());
            reemplazarCampos();
        } else {
            proyectoUCC.setProyecto(new ProyectoInvestigacion());
        }
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        bindingGroup = new org.jdesktop.beansbinding.BindingGroup();

        HistorialDirectores = new javax.swing.JDialog();
        panelImage3 = new org.edisoncor.gui.panel.PanelImage();
        panelRect4 = new org.edisoncor.gui.panel.PanelRect();
        jScrollPane6 = new javax.swing.JScrollPane();
        tblDirectores = new javax.swing.JTable();
        btnNuevoDirector = new javax.swing.JButton();
        btnCancelarHistorial = new javax.swing.JButton();
        btnAceptar = new javax.swing.JButton();
        EditarObjetivo = new javax.swing.JDialog();
        panelImage4 = new org.edisoncor.gui.panel.PanelImage();
        btnGuardarObjetivo = new javax.swing.JButton();
        btnCancelarObjetivo = new javax.swing.JButton();
        panelRound7 = new org.edisoncor.gui.panel.PanelRound();
        cbxTipoObjetivo = new javax.swing.JComboBox();
        txtTagObjetivo = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel17 = new javax.swing.JLabel();
        jLabel18 = new javax.swing.JLabel();
        jLabel19 = new javax.swing.JLabel();
        jScrollPane7 = new javax.swing.JScrollPane();
        txtDetalleObjetivo = new javax.swing.JTextArea();
        NuevoDirectorProyecto = new javax.swing.JDialog();
        panelImage2 = new org.edisoncor.gui.panel.PanelImage();
        btnAceptarnuevoDirector = new javax.swing.JButton();
        btnCancelarEditarDirector = new javax.swing.JButton();
        panelRound8 = new org.edisoncor.gui.panel.PanelRound();
        txtDNINuevoDirector = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel21 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jScrollPane5 = new javax.swing.JScrollPane();
        txtObservacionNuevoDirector = new javax.swing.JTextArea();
        jLabel23 = new javax.swing.JLabel();
        dtcFechaInicioDirector = new com.toedter.calendar.JDateChooser();
        txtDNINuevoDirectorNombre = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel31 = new javax.swing.JLabel();
        NuevoAutorProyecto = new javax.swing.JDialog();
        panelImage5 = new org.edisoncor.gui.panel.PanelImage();
        btnAceptarAutor = new javax.swing.JButton();
        btnCancelarAutor = new javax.swing.JButton();
        panelRound9 = new org.edisoncor.gui.panel.PanelRound();
        txtDNIAutor = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel24 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        dtcFechaInicioAutor = new com.toedter.calendar.JDateChooser();
        txtDNINombreAutor = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel32 = new javax.swing.JLabel();
        RenunciaAutor = new javax.swing.JDialog();
        panelImage6 = new org.edisoncor.gui.panel.PanelImage();
        btnAceptarRenuncia = new javax.swing.JButton();
        btnCancelarRenuncia = new javax.swing.JButton();
        panelRound10 = new org.edisoncor.gui.panel.PanelRound();
        txtDNIRenuncia = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jScrollPane8 = new javax.swing.JScrollPane();
        txtMotivoRenuncia = new javax.swing.JTextArea();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        txtNombresRenuncia = new org.edisoncor.gui.textField.TextFieldRound();
        txtApellidosRenuncia = new org.edisoncor.gui.textField.TextFieldRound();
        dtcFechaRenuncia = new com.toedter.calendar.JDateChooser();
        txtNumeroResolucion = new org.edisoncor.gui.textField.TextFieldRound();
        lblNumero = new javax.swing.JLabel();
        tabbedPaneVertical1 = new org.edisoncor.gui.tabbedPane.TabbedPaneVertical();
        panelImage7 = new org.edisoncor.gui.panel.PanelImage();
        jLabel3 = new javax.swing.JLabel();
        panelRound1 = new org.edisoncor.gui.panel.PanelRound();
        cbxLineaInvestigacion = new javax.swing.JComboBox();
        jLabel2 = new javax.swing.JLabel();
        panelRound3 = new org.edisoncor.gui.panel.PanelRound();
        cbxTipo = new javax.swing.JComboBox();
        txtTema = new org.edisoncor.gui.textField.TextFieldRound();
        cbxEstado = new javax.swing.JComboBox();
        txtTag = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        panelRound4 = new org.edisoncor.gui.panel.PanelRound();
        jLabel8 = new javax.swing.JLabel();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        dtcFechaInicio = new com.toedter.calendar.JDateChooser();
        dtcFechaFinalizacion = new com.toedter.calendar.JDateChooser();
        dtcFechaProrroga = new com.toedter.calendar.JDateChooser();
        jLabel12 = new javax.swing.JLabel();
        panelImage8 = new org.edisoncor.gui.panel.PanelImage();
        panelRect1 = new org.edisoncor.gui.panel.PanelRect();
        jScrollPane2 = new javax.swing.JScrollPane();
        tblObjetivos = new javax.swing.JTable();
        btnEliminarObjetivo = new javax.swing.JButton();
        btnEditarObjetivo = new javax.swing.JButton();
        btnNuevoObjetivo = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        panelImage9 = new org.edisoncor.gui.panel.PanelImage();
        jLabel15 = new javax.swing.JLabel();
        panelRound5 = new org.edisoncor.gui.panel.PanelRound();
        txtNombres = new org.edisoncor.gui.textField.TextFieldRound();
        txtApellidos = new org.edisoncor.gui.textField.TextFieldRound();
        jLabel11 = new javax.swing.JLabel();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        dtcFechaAsignacion = new com.toedter.calendar.JDateChooser();
        btnMostrarHistorial = new javax.swing.JButton();
        jLabel16 = new javax.swing.JLabel();
        panelRect2 = new org.edisoncor.gui.panel.PanelRect();
        jScrollPane3 = new javax.swing.JScrollPane();
        tblAutor = new javax.swing.JTable();
        btnRenunciaAutor = new javax.swing.JButton();
        btnAsignarNuevo = new javax.swing.JButton();
        jLabel20 = new javax.swing.JLabel();
        panelRound6 = new org.edisoncor.gui.panel.PanelRound();
        jScrollPane4 = new javax.swing.JScrollPane();
        txtObservacion = new javax.swing.JTextArea();
        btnGuardar = new javax.swing.JButton();
        btnCancelar = new javax.swing.JButton();

        HistorialDirectores.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(jproyinv.JproyinvApp.class).getContext().getResourceMap(EditarProyectoInvestigacion.class);
        HistorialDirectores.setTitle(resourceMap.getString("title")); // NOI18N
        HistorialDirectores.setAlwaysOnTop(true);
        HistorialDirectores.setMinimumSize(new java.awt.Dimension(893, 315));
        HistorialDirectores.setName(""); // NOI18N
        HistorialDirectores.setResizable(false);

        panelImage3.setIcon(resourceMap.getIcon("panelImage3.icon")); // NOI18N
        panelImage3.setMinimumSize(new java.awt.Dimension(893, 300));
        panelImage3.setName("panelImage3"); // NOI18N

        panelRect4.setName("panelRect4"); // NOI18N

        jScrollPane6.setName("jScrollPane6"); // NOI18N

        tblDirectores.setName("tblDirectores"); // NOI18N

        org.jdesktop.beansbinding.ELProperty eLProperty = org.jdesktop.beansbinding.ELProperty.create("${listObservableDir}");
        org.jdesktop.swingbinding.JTableBinding jTableBinding = org.jdesktop.swingbinding.SwingBindings.createJTableBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, this, eLProperty, tblDirectores, "");
        org.jdesktop.swingbinding.JTableBinding.ColumnBinding columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${docente.nombres}"));
        columnBinding.setColumnName("Docente.nombres");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${docente.apellidos}"));
        columnBinding.setColumnName("Docente.apellidos");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${fechaInicio}"));
        columnBinding.setColumnName("Fecha Inicio");
        columnBinding.setColumnClass(java.util.Date.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${fechaFin}"));
        columnBinding.setColumnName("Fecha Fin");
        columnBinding.setColumnClass(java.util.Date.class);
        columnBinding.setEditable(false);
        bindingGroup.addBinding(jTableBinding);
        jTableBinding.bind();
        jScrollPane6.setViewportView(tblDirectores);
        tblDirectores.getColumnModel().getColumn(0).setHeaderValue(resourceMap.getString("tblDirectores.columnModel.title4")); // NOI18N
        tblDirectores.getColumnModel().getColumn(1).setHeaderValue(resourceMap.getString("tblDirectores.columnModel.title3")); // NOI18N
        tblDirectores.getColumnModel().getColumn(2).setHeaderValue(resourceMap.getString("tblDirectores.columnModel.title0")); // NOI18N
        tblDirectores.getColumnModel().getColumn(3).setHeaderValue(resourceMap.getString("tblDirectores.columnModel.title2")); // NOI18N

        btnNuevoDirector.setText(resourceMap.getString("btnNuevoDirector.text")); // NOI18N
        btnNuevoDirector.setName("btnNuevoDirector"); // NOI18N
        btnNuevoDirector.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNuevoDirectorActionPerformed(evt);
            }
        });

        btnCancelarHistorial.setText(resourceMap.getString("btnCancelarHistorial.text")); // NOI18N
        btnCancelarHistorial.setName("btnCancelarHistorial"); // NOI18N
        btnCancelarHistorial.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarHistorialActionPerformed(evt);
            }
        });

        btnAceptar.setText(resourceMap.getString("btnAceptar.text")); // NOI18N
        btnAceptar.setName("btnAceptar"); // NOI18N
        btnAceptar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAceptarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelRect4Layout = new javax.swing.GroupLayout(panelRect4);
        panelRect4.setLayout(panelRect4Layout);
        panelRect4Layout.setHorizontalGroup(
            panelRect4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelRect4Layout.createSequentialGroup()
                .addGap(52, 52, 52)
                .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 659, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRect4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnNuevoDirector, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnCancelarHistorial, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnAceptar, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 146, Short.MAX_VALUE))
                .addContainerGap())
        );
        panelRect4Layout.setVerticalGroup(
            panelRect4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelRect4Layout.createSequentialGroup()
                .addContainerGap(237, Short.MAX_VALUE)
                .addComponent(btnCancelarHistorial)
                .addContainerGap())
            .addGroup(panelRect4Layout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addGroup(panelRect4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 211, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(panelRect4Layout.createSequentialGroup()
                        .addComponent(btnNuevoDirector)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 150, Short.MAX_VALUE)
                        .addComponent(btnAceptar)
                        .addGap(17, 17, 17)))
                .addContainerGap(31, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout panelImage3Layout = new javax.swing.GroupLayout(panelImage3);
        panelImage3.setLayout(panelImage3Layout);
        panelImage3Layout.setHorizontalGroup(
            panelImage3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(panelRect4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        panelImage3Layout.setVerticalGroup(
            panelImage3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(panelRect4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(21, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout HistorialDirectoresLayout = new javax.swing.GroupLayout(HistorialDirectores.getContentPane());
        HistorialDirectores.getContentPane().setLayout(HistorialDirectoresLayout);
        HistorialDirectoresLayout.setHorizontalGroup(
            HistorialDirectoresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        HistorialDirectoresLayout.setVerticalGroup(
            HistorialDirectoresLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        HistorialDirectores.getAccessibleContext().setAccessibleName(resourceMap.getString("HistorialDirectores.AccessibleContext.accessibleName")); // NOI18N

        EditarObjetivo.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
        EditarObjetivo.setTitle(resourceMap.getString("EditarObjetivo.title")); // NOI18N
        EditarObjetivo.setAlwaysOnTop(true);
        EditarObjetivo.setMinimumSize(new java.awt.Dimension(472, 300));
        EditarObjetivo.setName("EditarObjetivo"); // NOI18N
        EditarObjetivo.setResizable(false);

        panelImage4.setIcon(resourceMap.getIcon("panelImage4.icon")); // NOI18N
        panelImage4.setName("panelImage4"); // NOI18N

        btnGuardarObjetivo.setText(resourceMap.getString("btnGuardarObjetivo.text")); // NOI18N
        btnGuardarObjetivo.setName("btnGuardarObjetivo"); // NOI18N
        btnGuardarObjetivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarObjetivoActionPerformed(evt);
            }
        });

        btnCancelarObjetivo.setText(resourceMap.getString("btnCancelarObjetivo.text")); // NOI18N
        btnCancelarObjetivo.setName("btnCancelarObjetivo"); // NOI18N
        btnCancelarObjetivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarObjetivoActionPerformed(evt);
            }
        });

        panelRound7.setName("panelRound7"); // NOI18N

        cbxTipoObjetivo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "GENERAL", "ESPECIFICO" }));
        cbxTipoObjetivo.setName("cbxTipoObjetivo"); // NOI18N
        cbxTipoObjetivo.setOpaque(false);

        txtTagObjetivo.setName("txtTagObjetivo"); // NOI18N
        txtTagObjetivo.setOpaque(true);

        jLabel17.setFont(resourceMap.getFont("jLabel17.font")); // NOI18N
        jLabel17.setForeground(resourceMap.getColor("jLabel17.foreground")); // NOI18N
        jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
        jLabel17.setName("jLabel17"); // NOI18N

        jLabel18.setFont(resourceMap.getFont("jLabel18.font")); // NOI18N
        jLabel18.setForeground(resourceMap.getColor("jLabel18.foreground")); // NOI18N
        jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
        jLabel18.setName("jLabel18"); // NOI18N

        jLabel19.setFont(resourceMap.getFont("jLabel19.font")); // NOI18N
        jLabel19.setForeground(resourceMap.getColor("jLabel19.foreground")); // NOI18N
        jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
        jLabel19.setName("jLabel19"); // NOI18N

        jScrollPane7.setName("jScrollPane7"); // NOI18N

        txtDetalleObjetivo.setColumns(20);
        txtDetalleObjetivo.setLineWrap(true);
        txtDetalleObjetivo.setRows(5);
        txtDetalleObjetivo.setWrapStyleWord(true);
        txtDetalleObjetivo.setName("txtDetalleObjetivo"); // NOI18N
        jScrollPane7.setViewportView(txtDetalleObjetivo);

        javax.swing.GroupLayout panelRound7Layout = new javax.swing.GroupLayout(panelRound7);
        panelRound7.setLayout(panelRound7Layout);
        panelRound7Layout.setHorizontalGroup(
            panelRound7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound7Layout.createSequentialGroup()
                .addGap(27, 27, 27)
                .addGroup(panelRound7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel18)
                    .addComponent(jLabel17)
                    .addComponent(jLabel19))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(txtTagObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(cbxTipoObjetivo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, 314, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(24, Short.MAX_VALUE))
        );
        panelRound7Layout.setVerticalGroup(
            panelRound7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound7Layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addGroup(panelRound7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel17)
                    .addComponent(jScrollPane7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cbxTipoObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel18))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel19)
                    .addComponent(txtTagObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(29, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout panelImage4Layout = new javax.swing.GroupLayout(panelImage4);
        panelImage4.setLayout(panelImage4Layout);
        panelImage4Layout.setHorizontalGroup(
            panelImage4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelImage4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelImage4Layout.createSequentialGroup()
                        .addComponent(btnGuardarObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(38, 38, 38)
                        .addComponent(btnCancelarObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(78, 78, 78))
                    .addGroup(panelImage4Layout.createSequentialGroup()
                        .addComponent(panelRound7, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addContainerGap())))
        );
        panelImage4Layout.setVerticalGroup(
            panelImage4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(panelRound7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelImage4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnGuardarObjetivo)
                    .addComponent(btnCancelarObjetivo))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout EditarObjetivoLayout = new javax.swing.GroupLayout(EditarObjetivo.getContentPane());
        EditarObjetivo.getContentPane().setLayout(EditarObjetivoLayout);
        EditarObjetivoLayout.setHorizontalGroup(
            EditarObjetivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        EditarObjetivoLayout.setVerticalGroup(
            EditarObjetivoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        NuevoDirectorProyecto.setTitle(resourceMap.getString("NuevoDirectorProyecto.title")); // NOI18N
        NuevoDirectorProyecto.setAlwaysOnTop(true);
        NuevoDirectorProyecto.setMinimumSize(new java.awt.Dimension(483, 255));
        NuevoDirectorProyecto.setName("NuevoDirectorProyecto"); // NOI18N
        NuevoDirectorProyecto.setResizable(false);

        panelImage2.setIcon(resourceMap.getIcon("panelImage2.icon")); // NOI18N
        panelImage2.setName("panelImage2"); // NOI18N

        btnAceptarnuevoDirector.setText(resourceMap.getString("btnAceptarnuevoDirector.text")); // NOI18N
        btnAceptarnuevoDirector.setName("btnAceptarnuevoDirector"); // NOI18N
        btnAceptarnuevoDirector.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAceptarnuevoDirectorActionPerformed(evt);
            }
        });

        btnCancelarEditarDirector.setText(resourceMap.getString("btnCancelarEditarDirector.text")); // NOI18N
        btnCancelarEditarDirector.setName("btnCancelarEditarDirector"); // NOI18N
        btnCancelarEditarDirector.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarEditarDirectorActionPerformed(evt);
            }
        });

        panelRound8.setName("panelRound8"); // NOI18N

        txtDNINuevoDirector.setEditable(false);
        txtDNINuevoDirector.setName("txtDNINuevoDirector"); // NOI18N
        txtDNINuevoDirector.setOpaque(true);

        jLabel21.setFont(resourceMap.getFont("jLabel21.font")); // NOI18N
        jLabel21.setForeground(resourceMap.getColor("jLabel21.foreground")); // NOI18N
        jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
        jLabel21.setName("jLabel21"); // NOI18N

        jLabel22.setFont(resourceMap.getFont("jLabel22.font")); // NOI18N
        jLabel22.setForeground(resourceMap.getColor("jLabel22.foreground")); // NOI18N
        jLabel22.setText(resourceMap.getString("jLabel22.text")); // NOI18N
        jLabel22.setName("jLabel22"); // NOI18N

        jScrollPane5.setName("jScrollPane5"); // NOI18N

        txtObservacionNuevoDirector.setColumns(20);
        txtObservacionNuevoDirector.setLineWrap(true);
        txtObservacionNuevoDirector.setRows(5);
        txtObservacionNuevoDirector.setWrapStyleWord(true);
        txtObservacionNuevoDirector.setName("txtObservacionNuevoDirector"); // NOI18N
        jScrollPane5.setViewportView(txtObservacionNuevoDirector);

        jLabel23.setFont(resourceMap.getFont("jLabel23.font")); // NOI18N
        jLabel23.setForeground(resourceMap.getColor("jLabel23.foreground")); // NOI18N
        jLabel23.setText(resourceMap.getString("jLabel23.text")); // NOI18N
        jLabel23.setName("jLabel23"); // NOI18N

        dtcFechaInicioDirector.setName("dtcFechaInicioDirector"); // NOI18N
        dtcFechaInicioDirector.setOpaque(false);

        txtDNINuevoDirectorNombre.setEditable(false);
        txtDNINuevoDirectorNombre.setName("txtDNINuevoDirectorNombre"); // NOI18N
        txtDNINuevoDirectorNombre.setOpaque(true);

        jLabel31.setFont(resourceMap.getFont("jLabel31.font")); // NOI18N
        jLabel31.setForeground(resourceMap.getColor("jLabel31.foreground")); // NOI18N
        jLabel31.setText(resourceMap.getString("jLabel31.text")); // NOI18N
        jLabel31.setName("jLabel31"); // NOI18N

        javax.swing.GroupLayout panelRound8Layout = new javax.swing.GroupLayout(panelRound8);
        panelRound8.setLayout(panelRound8Layout);
        panelRound8Layout.setHorizontalGroup(
            panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound8Layout.createSequentialGroup()
                .addGap(31, 31, 31)
                .addGroup(panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel23)
                    .addComponent(jLabel21)
                    .addComponent(jLabel22)
                    .addComponent(jLabel31))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(txtDNINuevoDirectorNombre, javax.swing.GroupLayout.DEFAULT_SIZE, 266, Short.MAX_VALUE)
                    .addComponent(dtcFechaInicioDirector, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(jScrollPane5)
                        .addComponent(txtDNINuevoDirector, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(40, 40, 40))
        );
        panelRound8Layout.setVerticalGroup(
            panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound8Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtDNINuevoDirector, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel21))
                .addGap(2, 2, 2)
                .addGroup(panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtDNINuevoDirectorNombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel31))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(dtcFechaInicioDirector, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel22))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelRound8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel23)
                    .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout panelImage2Layout = new javax.swing.GroupLayout(panelImage2);
        panelImage2.setLayout(panelImage2Layout);
        panelImage2Layout.setHorizontalGroup(
            panelImage2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage2Layout.createSequentialGroup()
                .addGroup(panelImage2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelImage2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(panelRound8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelImage2Layout.createSequentialGroup()
                        .addGap(76, 76, 76)
                        .addComponent(btnAceptarnuevoDirector, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(38, 38, 38)
                        .addComponent(btnCancelarEditarDirector, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        panelImage2Layout.setVerticalGroup(
            panelImage2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(panelRound8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelImage2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAceptarnuevoDirector)
                    .addComponent(btnCancelarEditarDirector))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout NuevoDirectorProyectoLayout = new javax.swing.GroupLayout(NuevoDirectorProyecto.getContentPane());
        NuevoDirectorProyecto.getContentPane().setLayout(NuevoDirectorProyectoLayout);
        NuevoDirectorProyectoLayout.setHorizontalGroup(
            NuevoDirectorProyectoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        NuevoDirectorProyectoLayout.setVerticalGroup(
            NuevoDirectorProyectoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        NuevoAutorProyecto.setTitle(resourceMap.getString("NuevoAutorProyecto.title")); // NOI18N
        NuevoAutorProyecto.setAlwaysOnTop(true);
        NuevoAutorProyecto.setMinimumSize(new java.awt.Dimension(510, 180));
        NuevoAutorProyecto.setName("NuevoAutorProyecto"); // NOI18N
        NuevoAutorProyecto.setResizable(false);

        panelImage5.setIcon(resourceMap.getIcon("panelImage5.icon")); // NOI18N
        panelImage5.setName("panelImage5"); // NOI18N

        btnAceptarAutor.setText(resourceMap.getString("btnAceptarAutor.text")); // NOI18N
        btnAceptarAutor.setName("btnAceptarAutor"); // NOI18N
        btnAceptarAutor.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAceptarAutorActionPerformed(evt);
            }
        });

        btnCancelarAutor.setText(resourceMap.getString("btnCancelarAutor.text")); // NOI18N
        btnCancelarAutor.setName("btnCancelarAutor"); // NOI18N
        btnCancelarAutor.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarAutorActionPerformed(evt);
            }
        });

        panelRound9.setName("panelRound9"); // NOI18N

        txtDNIAutor.setEditable(false);
        txtDNIAutor.setName("txtDNIAutor"); // NOI18N
        txtDNIAutor.setOpaque(true);

        jLabel24.setFont(resourceMap.getFont("jLabel24.font")); // NOI18N
        jLabel24.setForeground(resourceMap.getColor("jLabel24.foreground")); // NOI18N
        jLabel24.setText(resourceMap.getString("jLabel24.text")); // NOI18N
        jLabel24.setName("jLabel24"); // NOI18N

        jLabel25.setFont(resourceMap.getFont("jLabel25.font")); // NOI18N
        jLabel25.setForeground(resourceMap.getColor("jLabel25.foreground")); // NOI18N
        jLabel25.setText(resourceMap.getString("jLabel25.text")); // NOI18N
        jLabel25.setName("jLabel25"); // NOI18N

        dtcFechaInicioAutor.setName("dtcFechaInicioAutor"); // NOI18N
        dtcFechaInicioAutor.setOpaque(false);

        txtDNINombreAutor.setEditable(false);
        txtDNINombreAutor.setName("txtDNINombreAutor"); // NOI18N
        txtDNINombreAutor.setOpaque(true);

        jLabel32.setFont(resourceMap.getFont("jLabel32.font")); // NOI18N
        jLabel32.setForeground(resourceMap.getColor("jLabel32.foreground")); // NOI18N
        jLabel32.setText(resourceMap.getString("jLabel32.text")); // NOI18N
        jLabel32.setName("jLabel32"); // NOI18N

        javax.swing.GroupLayout panelRound9Layout = new javax.swing.GroupLayout(panelRound9);
        panelRound9.setLayout(panelRound9Layout);
        panelRound9Layout.setHorizontalGroup(
            panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound9Layout.createSequentialGroup()
                .addGap(108, 108, 108)
                .addGroup(panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelRound9Layout.createSequentialGroup()
                        .addComponent(jLabel24)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtDNINombreAutor, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelRound9Layout.createSequentialGroup()
                        .addGroup(panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel25)
                            .addComponent(jLabel32))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(dtcFechaInicioAutor, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(txtDNIAutor, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(120, Short.MAX_VALUE))
        );
        panelRound9Layout.setVerticalGroup(
            panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound9Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtDNINombreAutor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel24))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel32)
                    .addComponent(txtDNIAutor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel25)
                    .addComponent(dtcFechaInicioAutor, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout panelImage5Layout = new javax.swing.GroupLayout(panelImage5);
        panelImage5.setLayout(panelImage5Layout);
        panelImage5Layout.setHorizontalGroup(
            panelImage5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage5Layout.createSequentialGroup()
                .addGroup(panelImage5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelImage5Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(panelRound9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(panelImage5Layout.createSequentialGroup()
                        .addGap(87, 87, 87)
                        .addComponent(btnAceptarAutor, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(38, 38, 38)
                        .addComponent(btnCancelarAutor, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap())
        );
        panelImage5Layout.setVerticalGroup(
            panelImage5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage5Layout.createSequentialGroup()
                .addContainerGap(22, Short.MAX_VALUE)
                .addComponent(panelRound9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelImage5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAceptarAutor)
                    .addComponent(btnCancelarAutor)))
        );

        javax.swing.GroupLayout NuevoAutorProyectoLayout = new javax.swing.GroupLayout(NuevoAutorProyecto.getContentPane());
        NuevoAutorProyecto.getContentPane().setLayout(NuevoAutorProyectoLayout);
        NuevoAutorProyectoLayout.setHorizontalGroup(
            NuevoAutorProyectoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        NuevoAutorProyectoLayout.setVerticalGroup(
            NuevoAutorProyectoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        RenunciaAutor.setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
        RenunciaAutor.setTitle(resourceMap.getString("RenunciaAutor.title")); // NOI18N
        RenunciaAutor.setAlwaysOnTop(true);
        RenunciaAutor.setMinimumSize(new java.awt.Dimension(531, 370));
        RenunciaAutor.setName("RenunciaAutor"); // NOI18N
        RenunciaAutor.setResizable(false);

        panelImage6.setIcon(resourceMap.getIcon("panelImage6.icon")); // NOI18N
        panelImage6.setName("panelImage6"); // NOI18N

        btnAceptarRenuncia.setText(resourceMap.getString("btnAceptarRenuncia.text")); // NOI18N
        btnAceptarRenuncia.setName("btnAceptarRenuncia"); // NOI18N
        btnAceptarRenuncia.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAceptarRenunciaActionPerformed(evt);
            }
        });

        btnCancelarRenuncia.setText(resourceMap.getString("btnCancelarRenuncia.text")); // NOI18N
        btnCancelarRenuncia.setName("btnCancelarRenuncia"); // NOI18N
        btnCancelarRenuncia.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarRenunciaActionPerformed(evt);
            }
        });

        panelRound10.setName("panelRound10"); // NOI18N

        txtDNIRenuncia.setName("txtDNIRenuncia"); // NOI18N
        txtDNIRenuncia.setOpaque(true);

        jLabel26.setFont(resourceMap.getFont("jLabel26.font")); // NOI18N
        jLabel26.setForeground(resourceMap.getColor("jLabel26.foreground")); // NOI18N
        jLabel26.setText(resourceMap.getString("jLabel26.text")); // NOI18N
        jLabel26.setName("jLabel26"); // NOI18N

        jLabel27.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel27.setForeground(resourceMap.getColor("jLabel27.foreground")); // NOI18N
        jLabel27.setText(resourceMap.getString("jLabel27.text")); // NOI18N
        jLabel27.setName("jLabel27"); // NOI18N

        jLabel28.setFont(resourceMap.getFont("jLabel28.font")); // NOI18N
        jLabel28.setForeground(resourceMap.getColor("jLabel28.foreground")); // NOI18N
        jLabel28.setText(resourceMap.getString("jLabel28.text")); // NOI18N
        jLabel28.setName("jLabel28"); // NOI18N

        jScrollPane8.setName("jScrollPane8"); // NOI18N

        txtMotivoRenuncia.setColumns(20);
        txtMotivoRenuncia.setRows(5);
        txtMotivoRenuncia.setName("txtMotivoRenuncia"); // NOI18N
        jScrollPane8.setViewportView(txtMotivoRenuncia);

        jLabel29.setFont(resourceMap.getFont("jLabel29.font")); // NOI18N
        jLabel29.setForeground(resourceMap.getColor("jLabel29.foreground")); // NOI18N
        jLabel29.setText(resourceMap.getString("jLabel29.text")); // NOI18N
        jLabel29.setName("jLabel29"); // NOI18N

        jLabel30.setFont(resourceMap.getFont("jLabel30.font")); // NOI18N
        jLabel30.setForeground(resourceMap.getColor("jLabel30.foreground")); // NOI18N
        jLabel30.setText(resourceMap.getString("jLabel30.text")); // NOI18N
        jLabel30.setName("jLabel30"); // NOI18N

        txtNombresRenuncia.setName("txtNombresRenuncia"); // NOI18N
        txtNombresRenuncia.setOpaque(true);

        txtApellidosRenuncia.setName("txtApellidosRenuncia"); // NOI18N
        txtApellidosRenuncia.setOpaque(true);

        dtcFechaRenuncia.setName("dtcFechaRenuncia"); // NOI18N
        dtcFechaRenuncia.setOpaque(false);

        txtNumeroResolucion.setName("txtNumeroResolucion"); // NOI18N
        txtNumeroResolucion.setOpaque(true);

        lblNumero.setFont(resourceMap.getFont("lblNumero.font")); // NOI18N
        lblNumero.setForeground(resourceMap.getColor("lblNumero.foreground")); // NOI18N
        lblNumero.setText(resourceMap.getString("lblNumero.text")); // NOI18N
        lblNumero.setName("lblNumero"); // NOI18N

        javax.swing.GroupLayout panelRound10Layout = new javax.swing.GroupLayout(panelRound10);
        panelRound10.setLayout(panelRound10Layout);
        panelRound10Layout.setHorizontalGroup(
            panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound10Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelRound10Layout.createSequentialGroup()
                        .addComponent(jLabel29)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane8, javax.swing.GroupLayout.DEFAULT_SIZE, 377, Short.MAX_VALUE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelRound10Layout.createSequentialGroup()
                        .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(lblNumero)
                            .addComponent(jLabel26)
                            .addComponent(jLabel27)
                            .addComponent(jLabel28)
                            .addComponent(jLabel30))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(txtDNIRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtApellidosRenuncia, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(txtNombresRenuncia, javax.swing.GroupLayout.DEFAULT_SIZE, 291, Short.MAX_VALUE)
                            .addComponent(dtcFechaRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, 180, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtNumeroResolucion, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE))))
                .addContainerGap(43, Short.MAX_VALUE))
        );
        panelRound10Layout.setVerticalGroup(
            panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound10Layout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtDNIRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel26))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtNombresRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel27))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtApellidosRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel28))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel30)
                    .addComponent(dtcFechaRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtNumeroResolucion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(lblNumero))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 34, Short.MAX_VALUE)
                .addGroup(panelRound10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel29)
                    .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(26, 26, 26))
        );

        javax.swing.GroupLayout panelImage6Layout = new javax.swing.GroupLayout(panelImage6);
        panelImage6.setLayout(panelImage6Layout);
        panelImage6Layout.setHorizontalGroup(
            panelImage6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage6Layout.createSequentialGroup()
                .addGroup(panelImage6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelImage6Layout.createSequentialGroup()
                        .addGap(95, 95, 95)
                        .addComponent(btnAceptarRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(38, 38, 38)
                        .addComponent(btnCancelarRenuncia, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelImage6Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(panelRound10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        panelImage6Layout.setVerticalGroup(
            panelImage6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelImage6Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(panelRound10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelImage6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnAceptarRenuncia)
                    .addComponent(btnCancelarRenuncia))
                .addContainerGap())
        );

        javax.swing.GroupLayout RenunciaAutorLayout = new javax.swing.GroupLayout(RenunciaAutor.getContentPane());
        RenunciaAutor.getContentPane().setLayout(RenunciaAutorLayout);
        RenunciaAutorLayout.setHorizontalGroup(
            RenunciaAutorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        RenunciaAutorLayout.setVerticalGroup(
            RenunciaAutorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(panelImage6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
        setTitle(resourceMap.getString("Form.title")); // NOI18N
        setAlwaysOnTop(true);
        setName("Form"); // NOI18N
        setResizable(false);

        tabbedPaneVertical1.setName("tabbedPaneVertical1"); // NOI18N

        panelImage7.setIcon(resourceMap.getIcon("panelImage7.icon")); // NOI18N
        panelImage7.setName("panelImage7"); // NOI18N

        jLabel3.setFont(resourceMap.getFont("jLabel3.font")); // NOI18N
        jLabel3.setForeground(resourceMap.getColor("jLabel3.foreground")); // NOI18N
        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        panelRound1.setName("panelRound1"); // NOI18N

        cbxLineaInvestigacion.setName("cbxLineaInvestigacion"); // NOI18N
        cbxLineaInvestigacion.setOpaque(false);
        cbxLineaInvestigacion.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cbxLineaInvestigacionActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelRound1Layout = new javax.swing.GroupLayout(panelRound1);
        panelRound1.setLayout(panelRound1Layout);
        panelRound1Layout.setHorizontalGroup(
            panelRound1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound1Layout.createSequentialGroup()
                .addGap(80, 80, 80)
                .addComponent(cbxLineaInvestigacion, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(92, Short.MAX_VALUE))
        );
        panelRound1Layout.setVerticalGroup(
            panelRound1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound1Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addComponent(cbxLineaInvestigacion, javax.swing.GroupLayout.PREFERRED_SIZE, 27, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(28, Short.MAX_VALUE))
        );

        jLabel2.setFont(resourceMap.getFont("jLabel2.font")); // NOI18N
        jLabel2.setForeground(resourceMap.getColor("jLabel2.foreground")); // NOI18N
        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        panelRound3.setName("panelRound3"); // NOI18N

        cbxTipo.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "TRABAJO_FIN_CARRERA", "TRABAJO_FIN_MODULO" }));
        cbxTipo.setName("cbxTipo"); // NOI18N
        cbxTipo.setOpaque(false);

        txtTema.setName("txtTema"); // NOI18N
        txtTema.setOpaque(true);

        cbxEstado.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "APROBADO", "ABANDONADO", "RENUNCIADO" }));
        cbxEstado.setName("cbxEstado"); // NOI18N
        cbxEstado.setOpaque(false);

        txtTag.setName("txtTag"); // NOI18N
        txtTag.setOpaque(true);

        jLabel4.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel4.setForeground(resourceMap.getColor("jLabel4.foreground")); // NOI18N
        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N

        jLabel5.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel5.setForeground(resourceMap.getColor("jLabel5.foreground")); // NOI18N
        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        jLabel6.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel6.setForeground(resourceMap.getColor("jLabel6.foreground")); // NOI18N
        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        jLabel7.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel7.setForeground(resourceMap.getColor("jLabel7.foreground")); // NOI18N
        jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N

        javax.swing.GroupLayout panelRound3Layout = new javax.swing.GroupLayout(panelRound3);
        panelRound3.setLayout(panelRound3Layout);
        panelRound3Layout.setHorizontalGroup(
            panelRound3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound3Layout.createSequentialGroup()
                .addGap(119, 119, 119)
                .addGroup(panelRound3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel6)
                    .addComponent(jLabel5)
                    .addComponent(jLabel4))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelRound3Layout.createSequentialGroup()
                        .addComponent(cbxEstado, javax.swing.GroupLayout.PREFERRED_SIZE, 172, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel7)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtTag, javax.swing.GroupLayout.PREFERRED_SIZE, 145, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(cbxTipo, javax.swing.GroupLayout.PREFERRED_SIZE, 439, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtTema, javax.swing.GroupLayout.PREFERRED_SIZE, 439, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(154, Short.MAX_VALUE))
        );
        panelRound3Layout.setVerticalGroup(
            panelRound3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound3Layout.createSequentialGroup()
                .addGap(20, 20, 20)
                .addGroup(panelRound3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtTema, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel4))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cbxTipo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel5))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(cbxEstado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(txtTag, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel7)
                    .addComponent(jLabel6))
                .addContainerGap(22, Short.MAX_VALUE))
        );

        panelRound4.setName("panelRound4"); // NOI18N

        jLabel8.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel8.setForeground(resourceMap.getColor("jLabel8.foreground")); // NOI18N
        jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
        jLabel8.setName("jLabel8"); // NOI18N

        jLabel9.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel9.setForeground(resourceMap.getColor("jLabel9.foreground")); // NOI18N
        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N

        jLabel10.setFont(resourceMap.getFont("jLabel4.font")); // NOI18N
        jLabel10.setForeground(resourceMap.getColor("jLabel10.foreground")); // NOI18N
        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N

        dtcFechaInicio.setName("dtcFechaInicio"); // NOI18N
        dtcFechaInicio.setOpaque(false);

        dtcFechaFinalizacion.setName("dtcFechaFinalizacion"); // NOI18N
        dtcFechaFinalizacion.setOpaque(false);

        dtcFechaProrroga.setName("dtcFechaProrroga"); // NOI18N
        dtcFechaProrroga.setOpaque(false);

        javax.swing.GroupLayout panelRound4Layout = new javax.swing.GroupLayout(panelRound4);
        panelRound4.setLayout(panelRound4Layout);
        panelRound4Layout.setHorizontalGroup(
            panelRound4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound4Layout.createSequentialGroup()
                .addGap(81, 81, 81)
                .addGroup(panelRound4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel8)
                    .addComponent(jLabel9)
                    .addComponent(jLabel10))
                .addGap(6, 6, 6)
                .addGroup(panelRound4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(dtcFechaProrroga, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(dtcFechaFinalizacion, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(dtcFechaInicio, javax.swing.GroupLayout.PREFERRED_SIZE, 222, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(326, Short.MAX_VALUE))
        );
        panelRound4Layout.setVerticalGroup(
            panelRound4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelRound4Layout.createSequentialGroup()
                .addContainerGap(23, Short.MAX_VALUE)
                .addGroup(panelRound4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelRound4Layout.createSequentialGroup()
                        .addComponent(jLabel8)
                        .addGap(18, 18, 18)
                        .addComponent(jLabel9))
                    .addGroup(panelRound4Layout.createSequentialGroup()
                        .addComponent(dtcFechaInicio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(8, 8, 8)
                        .addComponent(dtcFechaFinalizacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRound4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(dtcFechaProrroga, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel10))
                .addGap(20, 20, 20))
        );

        jLabel12.setFont(resourceMap.getFont("jLabel12.font")); // NOI18N
        jLabel12.setForeground(resourceMap.getColor("jLabel12.foreground")); // NOI18N
        jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
        jLabel12.setName("jLabel12"); // NOI18N

        javax.swing.GroupLayout panelImage7Layout = new javax.swing.GroupLayout(panelImage7);
        panelImage7.setLayout(panelImage7Layout);
        panelImage7Layout.setHorizontalGroup(
            panelImage7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage7Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelImage7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel3)
                    .addComponent(jLabel2)
                    .addComponent(jLabel12)
                    .addComponent(panelRound4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(panelRound1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(panelRound3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        panelImage7Layout.setVerticalGroup(
            panelImage7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage7Layout.createSequentialGroup()
                .addGap(52, 52, 52)
                .addComponent(jLabel3)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelRound1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel2)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelRound3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel12)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelRound4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(109, Short.MAX_VALUE))
        );

        tabbedPaneVertical1.addTab(resourceMap.getString("panelImage7.TabConstraints.tabTitle"), panelImage7); // NOI18N

        panelImage8.setIcon(resourceMap.getIcon("panelImage8.icon")); // NOI18N
        panelImage8.setName("panelImage8"); // NOI18N

        panelRect1.setName("panelRect1"); // NOI18N

        jScrollPane2.setName("jScrollPane2"); // NOI18N

        tblObjetivos.setName("tblObjetivos"); // NOI18N

        eLProperty = org.jdesktop.beansbinding.ELProperty.create("${listObservableObj}");
        jTableBinding = org.jdesktop.swingbinding.SwingBindings.createJTableBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, this, eLProperty, tblObjetivos);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${m_TipoObjetivo}"));
        columnBinding.setColumnName("M_ Tipo Objetivo");
        columnBinding.setColumnClass(org.cis.jproyinv.proyecto.modelo.TipoObjetivo.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${descripcion}"));
        columnBinding.setColumnName("Descripcion");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${tags}"));
        columnBinding.setColumnName("Tags");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        bindingGroup.addBinding(jTableBinding);
        jTableBinding.bind();
        jScrollPane2.setViewportView(tblObjetivos);
        tblObjetivos.getColumnModel().getColumn(0).setHeaderValue(resourceMap.getString("tblObjetivos.columnModel.title0")); // NOI18N
        tblObjetivos.getColumnModel().getColumn(1).setHeaderValue(resourceMap.getString("tblObjetivos.columnModel.title1")); // NOI18N
        tblObjetivos.getColumnModel().getColumn(2).setHeaderValue(resourceMap.getString("tblObjetivos.columnModel.title2")); // NOI18N

        btnEliminarObjetivo.setText(resourceMap.getString("btnEliminarObjetivo.text")); // NOI18N
        btnEliminarObjetivo.setName("btnEliminarObjetivo"); // NOI18N
        btnEliminarObjetivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEliminarObjetivoActionPerformed(evt);
            }
        });

        btnEditarObjetivo.setText(resourceMap.getString("btnEditarObjetivo.text")); // NOI18N
        btnEditarObjetivo.setName("btnEditarObjetivo"); // NOI18N
        btnEditarObjetivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnEditarObjetivoActionPerformed(evt);
            }
        });

        btnNuevoObjetivo.setText(resourceMap.getString("btnNuevoObjetivo.text")); // NOI18N
        btnNuevoObjetivo.setName("btnNuevoObjetivo"); // NOI18N
        btnNuevoObjetivo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnNuevoObjetivoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelRect1Layout = new javax.swing.GroupLayout(panelRect1);
        panelRect1.setLayout(panelRect1Layout);
        panelRect1Layout.setHorizontalGroup(
            panelRect1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRect1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 526, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(panelRect1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnNuevoObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnEditarObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnEliminarObjetivo, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(31, Short.MAX_VALUE))
        );
        panelRect1Layout.setVerticalGroup(
            panelRect1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRect1Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelRect1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelRect1Layout.createSequentialGroup()
                        .addComponent(btnNuevoObjetivo)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnEditarObjetivo)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 193, Short.MAX_VALUE)
                        .addComponent(btnEliminarObjetivo))
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE))
                .addContainerGap())
        );

        jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N
        jLabel1.setForeground(resourceMap.getColor("jLabel1.foreground")); // NOI18N
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        javax.swing.GroupLayout panelImage8Layout = new javax.swing.GroupLayout(panelImage8);
        panelImage8.setLayout(panelImage8Layout);
        panelImage8Layout.setHorizontalGroup(
            panelImage8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage8Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelImage8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel1)
                    .addGroup(panelImage8Layout.createSequentialGroup()
                        .addGap(15, 15, 15)
                        .addComponent(panelRect1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(28, Short.MAX_VALUE))
        );
        panelImage8Layout.setVerticalGroup(
            panelImage8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage8Layout.createSequentialGroup()
                .addGap(111, 111, 111)
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelRect1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(138, Short.MAX_VALUE))
        );

        tabbedPaneVertical1.addTab(resourceMap.getString("panelImage8.TabConstraints.tabTitle"), panelImage8); // NOI18N

        panelImage9.setIcon(resourceMap.getIcon("panelImage9.icon")); // NOI18N
        panelImage9.setName("panelImage9"); // NOI18N

        jLabel15.setFont(resourceMap.getFont("jLabel16.font")); // NOI18N
        jLabel15.setForeground(resourceMap.getColor("jLabel16.foreground")); // NOI18N
        jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
        jLabel15.setName("jLabel15"); // NOI18N

        panelRound5.setName("panelRound5"); // NOI18N

        txtNombres.setEditable(false);
        txtNombres.setName("txtNombres"); // NOI18N
        txtNombres.setOpaque(true);

        txtApellidos.setEditable(false);
        txtApellidos.setName("txtApellidos"); // NOI18N
        txtApellidos.setOpaque(true);

        jLabel11.setFont(resourceMap.getFont("jLabel11.font")); // NOI18N
        jLabel11.setForeground(resourceMap.getColor("jLabel11.foreground")); // NOI18N
        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N

        jLabel13.setFont(resourceMap.getFont("jLabel11.font")); // NOI18N
        jLabel13.setForeground(resourceMap.getColor("jLabel13.foreground")); // NOI18N
        jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N
        jLabel13.setName("jLabel13"); // NOI18N

        jLabel14.setFont(resourceMap.getFont("jLabel11.font")); // NOI18N
        jLabel14.setForeground(resourceMap.getColor("jLabel14.foreground")); // NOI18N
        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N

        dtcFechaAsignacion.setEnabled(false);
        dtcFechaAsignacion.setName("dtcFechaAsignacion"); // NOI18N
        dtcFechaAsignacion.setOpaque(false);

        btnMostrarHistorial.setText(resourceMap.getString("btnMostrarHistorial.text")); // NOI18N
        btnMostrarHistorial.setToolTipText(resourceMap.getString("btnMostrarHistorial.toolTipText")); // NOI18N
        btnMostrarHistorial.setName("btnMostrarHistorial"); // NOI18N
        btnMostrarHistorial.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnMostrarHistorialActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelRound5Layout = new javax.swing.GroupLayout(panelRound5);
        panelRound5.setLayout(panelRound5Layout);
        panelRound5Layout.setHorizontalGroup(
            panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound5Layout.createSequentialGroup()
                .addGap(92, 92, 92)
                .addGroup(panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelRound5Layout.createSequentialGroup()
                        .addGroup(panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panelRound5Layout.createSequentialGroup()
                                .addComponent(jLabel13)
                                .addGap(6, 6, 6)
                                .addComponent(txtApellidos, javax.swing.GroupLayout.DEFAULT_SIZE, 455, Short.MAX_VALUE))
                            .addGroup(panelRound5Layout.createSequentialGroup()
                                .addComponent(jLabel11)
                                .addGap(6, 6, 6)
                                .addComponent(txtNombres, javax.swing.GroupLayout.DEFAULT_SIZE, 455, Short.MAX_VALUE)))
                        .addGap(150, 150, 150))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelRound5Layout.createSequentialGroup()
                        .addComponent(jLabel14)
                        .addGap(18, 18, 18)
                        .addGroup(panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(panelRound5Layout.createSequentialGroup()
                                .addGap(12, 12, 12)
                                .addComponent(btnMostrarHistorial, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(dtcFechaAsignacion, javax.swing.GroupLayout.PREFERRED_SIZE, 188, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(309, 309, 309))))
        );
        panelRound5Layout.setVerticalGroup(
            panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelRound5Layout.createSequentialGroup()
                .addContainerGap(26, Short.MAX_VALUE)
                .addGroup(panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtNombres, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel11))
                .addGap(8, 8, 8)
                .addGroup(panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(txtApellidos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel13))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelRound5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(dtcFechaAsignacion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel14))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(btnMostrarHistorial)
                .addGap(21, 21, 21))
        );

        jLabel16.setFont(resourceMap.getFont("jLabel16.font")); // NOI18N
        jLabel16.setForeground(resourceMap.getColor("jLabel16.foreground")); // NOI18N
        jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
        jLabel16.setName("jLabel16"); // NOI18N

        panelRect2.setName("panelRect2"); // NOI18N

        jScrollPane3.setName("jScrollPane3"); // NOI18N

        tblAutor.setName("tblAutor"); // NOI18N

        eLProperty = org.jdesktop.beansbinding.ELProperty.create("${listObservableAut}");
        jTableBinding = org.jdesktop.swingbinding.SwingBindings.createJTableBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, this, eLProperty, tblAutor);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${estudiante.nombres}"));
        columnBinding.setColumnName("Estudiante.nombres");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${estudiante.apellidos}"));
        columnBinding.setColumnName("Estudiante.apellidos");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${fechaInicio}"));
        columnBinding.setColumnName("Fecha Inicio");
        columnBinding.setColumnClass(java.util.Date.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${renuncia.fecha}"));
        columnBinding.setColumnName("Renuncia.fecha");
        columnBinding.setColumnClass(java.util.Date.class);
        columnBinding.setEditable(false);
        bindingGroup.addBinding(jTableBinding);
        jTableBinding.bind();
        jScrollPane3.setViewportView(tblAutor);
        tblAutor.getColumnModel().getColumn(0).setHeaderValue(resourceMap.getString("tblAutor.columnModel.title0")); // NOI18N
        tblAutor.getColumnModel().getColumn(1).setHeaderValue(resourceMap.getString("tblAutor.columnModel.title3")); // NOI18N
        tblAutor.getColumnModel().getColumn(2).setHeaderValue(resourceMap.getString("tblAutor.columnModel.title1")); // NOI18N
        tblAutor.getColumnModel().getColumn(3).setHeaderValue(resourceMap.getString("tblAutor.columnModel.title2")); // NOI18N

        btnRenunciaAutor.setText(resourceMap.getString("btnRenunciaAutor.text")); // NOI18N
        btnRenunciaAutor.setName("btnRenunciaAutor"); // NOI18N
        btnRenunciaAutor.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnRenunciaAutorActionPerformed(evt);
            }
        });

        btnAsignarNuevo.setText(resourceMap.getString("btnAsignarNuevo.text")); // NOI18N
        btnAsignarNuevo.setName("btnAsignarNuevo"); // NOI18N
        btnAsignarNuevo.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnAsignarNuevoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelRect2Layout = new javax.swing.GroupLayout(panelRect2);
        panelRect2.setLayout(panelRect2Layout);
        panelRect2Layout.setHorizontalGroup(
            panelRect2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRect2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 554, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(panelRect2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(btnRenunciaAutor, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnAsignarNuevo, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(48, Short.MAX_VALUE))
        );
        panelRect2Layout.setVerticalGroup(
            panelRect2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRect2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelRect2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelRect2Layout.createSequentialGroup()
                        .addComponent(btnRenunciaAutor)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 59, Short.MAX_VALUE)
                        .addComponent(btnAsignarNuevo))
                    .addComponent(jScrollPane3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 105, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );

        jLabel20.setFont(resourceMap.getFont("jLabel20.font")); // NOI18N
        jLabel20.setForeground(resourceMap.getColor("jLabel20.foreground")); // NOI18N
        jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
        jLabel20.setName("jLabel20"); // NOI18N

        panelRound6.setName("panelRound6"); // NOI18N

        jScrollPane4.setName("jScrollPane4"); // NOI18N

        txtObservacion.setColumns(20);
        txtObservacion.setLineWrap(true);
        txtObservacion.setRows(5);
        txtObservacion.setWrapStyleWord(true);
        txtObservacion.setName("txtObservacion"); // NOI18N
        jScrollPane4.setViewportView(txtObservacion);

        javax.swing.GroupLayout panelRound6Layout = new javax.swing.GroupLayout(panelRound6);
        panelRound6.setLayout(panelRound6Layout);
        panelRound6Layout.setHorizontalGroup(
            panelRound6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound6Layout.createSequentialGroup()
                .addGap(27, 27, 27)
                .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 663, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(67, Short.MAX_VALUE))
        );
        panelRound6Layout.setVerticalGroup(
            panelRound6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelRound6Layout.createSequentialGroup()
                .addGap(24, 24, 24)
                .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(27, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout panelImage9Layout = new javax.swing.GroupLayout(panelImage9);
        panelImage9.setLayout(panelImage9Layout);
        panelImage9Layout.setHorizontalGroup(
            panelImage9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage9Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelImage9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel15)
                    .addComponent(jLabel16)
                    .addComponent(jLabel20)
                    .addGroup(panelImage9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(panelRound5, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(panelRect2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(panelRound6, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        panelImage9Layout.setVerticalGroup(
            panelImage9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelImage9Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel15)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelRound5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel16)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelRect2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel20)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelRound6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(30, Short.MAX_VALUE))
        );

        tabbedPaneVertical1.addTab(resourceMap.getString("panelImage9.TabConstraints.tabTitle"), panelImage9); // NOI18N

        btnGuardar.setText(resourceMap.getString("btnGuardar.text")); // NOI18N
        btnGuardar.setName("btnGuardar"); // NOI18N
        btnGuardar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnGuardarActionPerformed(evt);
            }
        });

        btnCancelar.setText(resourceMap.getString("btnCancelar.text")); // NOI18N
        btnCancelar.setName("btnCancelar"); // NOI18N
        btnCancelar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCancelarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(btnGuardar, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 475, Short.MAX_VALUE)
                .addComponent(btnCancelar, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
            .addComponent(tabbedPaneVertical1, javax.swing.GroupLayout.DEFAULT_SIZE, 785, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(tabbedPaneVertical1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnCancelar)
                    .addComponent(btnGuardar))
                .addContainerGap())
        );

        bindingGroup.bind();

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void btnGuardarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarActionPerformed
    if (camposObligatoriosVacios() == false) {
        guardarDatos();
        if (bandera == false) {
            if (proyectoUCC.existe(proyectoUCC.getProyecto()) == false) {
                for (Autor e : proyectoUCC.getProyecto().getAutores()) {
                    new EstudianteDao().eliminar(e.getEstudiante());
                }
                proyectoUCC.guardar(proyectoUCC.getProyecto());
                this.setVisible(false);
                JOptionPane.showMessageDialog(this, "Proyecto de Investigación guardado");
                BuscarProyectoInvestigacion buscar = new BuscarProyectoInvestigacion();
                listObservableAut.clear();
                listObservableDir.clear();
                listObservableObj.clear();
                proyectoUCC.setProyecto(null);
                proyectoUCC.setAutores(null);
                proyectoUCC.setDirectores(null);
                proyectoUCC.setObjetivos(null);
                buscar.setVisible(true);
            } else {
                JOptionPane.showMessageDialog(this, "Proyecto de Investigación ya existe");
            }
        } else {
            System.out.println("EDITAr" + proyectoUCC.getProyecto().getObjetivos().size());
            BuscarProyectoInvestigacion buscar = new BuscarProyectoInvestigacion();
            proyectoUCC.actualizar(proyectoUCC.getProyecto());
            listObservableAut.clear();
            listObservableDir.clear();
            listObservableObj.clear();
            proyectoUCC.setProyecto(null);
            proyectoUCC.setAutores(null);
            proyectoUCC.setDirectores(null);
            proyectoUCC.setObjetivos(null);
            this.setVisible(false);
            JOptionPane.showMessageDialog(this, "Proyecto de Investigación guardada");
            buscar.setVisible(true);
        }
    } else {
        JOptionPane.showMessageDialog(this, "Campos Oblibatorios Vacíos");
    }
}//GEN-LAST:event_btnGuardarActionPerformed

private void btnCancelarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarActionPerformed
    listObservableAut.clear();
    listObservableDir.clear();
    listObservableObj.clear();
    proyectoUCC.setProyecto(null);
    proyectoUCC.setAutores(null);
    proyectoUCC.setDirectores(null);
    proyectoUCC.setObjetivos(null);
    BuscarProyectoInvestigacion buscar = new BuscarProyectoInvestigacion();
    this.setVisible(false);
    buscar.setVisible(true);
}//GEN-LAST:event_btnCancelarActionPerformed

private void cbxLineaInvestigacionActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cbxLineaInvestigacionActionPerformed
    proyectoUCC.setLinea(proyectoUCC.buscarLinea(cbxLineaInvestigacion.getSelectedItem().toString()));
}//GEN-LAST:event_cbxLineaInvestigacionActionPerformed

private void btnCancelarHistorialActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarHistorialActionPerformed
    HistorialDirectores.setVisible(false);
    this.setVisible(true);
}//GEN-LAST:event_btnCancelarHistorialActionPerformed

private void btnMostrarHistorialActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnMostrarHistorialActionPerformed
    this.setVisible(false);
    HistorialDirectores.setLocationRelativeTo(this);
    HistorialDirectores.setVisible(true);
}//GEN-LAST:event_btnMostrarHistorialActionPerformed

private void btnEditarObjetivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEditarObjetivoActionPerformed
    try {
        proyectoUCC.setObj(proyectoUCC.buscarObjetivo(tblObjetivos.getValueAt(tblObjetivos.getSelectedRow(), 1) + ""));
        proyectoUCC.getObjetivos().remove(proyectoUCC.getObj());
        txtDetalleObjetivo.setText(proyectoUCC.getObj().getDescripcion());
        txtTagObjetivo.setText(proyectoUCC.getObj().getTags());
        cbxTipoObjetivo.setSelectedItem(proyectoUCC.getObj().getM_TipoObjetivo() + "");
        editarObjetivo = true;
        this.setVisible(false);
        EditarObjetivo.setLocationRelativeTo(this);
        EditarObjetivo.setVisible(true);
    } catch (ArrayIndexOutOfBoundsException e) {
        JOptionPane.showMessageDialog(this, "Seleccione un objetivo a editar");
    }


}//GEN-LAST:event_btnEditarObjetivoActionPerformed

private void btnEliminarObjetivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnEliminarObjetivoActionPerformed
    try {
        proyectoUCC.setObj(proyectoUCC.buscarObjetivo(tblObjetivos.getValueAt(tblObjetivos.getSelectedRow(), 1) + ""));
        System.out.println(proyectoUCC.getObj().getDescripcion());
        try {
            proyectoUCC.buscarId(proyectoUCC.getObj().getProyectoInvestigacion().getId());
            //Si es un objetivo recién creado, nos dar la ecepción y de esa manera sólo lo elimina de la lista, caso que si tenga, entonces lo elimina de la base de datos, xq quiere decir que ese objetivo ya se encunttra persistido y no bastará sólo con eliminarlo de la lista de objetivos.
            new ObjetivoDao().eliminar(proyectoUCC.getObj());
        } catch (NullPointerException e) {
        } catch (IllegalArgumentException e) {
        }
        List<Objetivo> noEliminados = new ArrayList();
        for (Objetivo obj : proyectoUCC.getObjetivos()) {
            System.out.println(obj.getDescripcion());
            if (obj.getDescripcion().equals(proyectoUCC.getObj().getDescripcion()) == false) {
                noEliminados.add(obj);
            } else {
                System.out.println(obj.getDescripcion());
            }
        }
        proyectoUCC.getObjetivos().clear();
        proyectoUCC.getObjetivos().addAll(noEliminados);
        listObservableObj.clear();
        listObservableObj.addAll(proyectoUCC.getObjetivos());
        tblObjetivos.repaint();
        this.setVisible(false);
        JOptionPane.showMessageDialog(this, "Objetivo Eliminado");
        this.setVisible(true);
    } catch (ArrayIndexOutOfBoundsException e) {
    }
}//GEN-LAST:event_btnEliminarObjetivoActionPerformed

private void btnNuevoObjetivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNuevoObjetivoActionPerformed
    proyectoUCC.setObj(new Objetivo());
    txtDetalleObjetivo.setText("");
    this.setVisible(false);
    EditarObjetivo.setLocationRelativeTo(this);
    EditarObjetivo.setVisible(true);
}//GEN-LAST:event_btnNuevoObjetivoActionPerformed

private void btnCancelarObjetivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarObjetivoActionPerformed
    if (editarObjetivo == true) {
        proyectoUCC.getObjetivos().add(proyectoUCC.getObj());
    }
    EditarObjetivo.setVisible(false);
    this.setVisible(true);
    editarObjetivo = false;
}//GEN-LAST:event_btnCancelarObjetivoActionPerformed

private void btnGuardarObjetivoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnGuardarObjetivoActionPerformed
    if (txtDetalleObjetivo.getText().isEmpty() == false) {
        proyectoUCC.getObj().setDescripcion(txtDetalleObjetivo.getText().toUpperCase());
        proyectoUCC.getObj().setTags(txtTagObjetivo.getText().toUpperCase());
        proyectoUCC.getObj().setM_TipoObjetivo(TipoObjetivo.valueOf(cbxTipoObjetivo.getSelectedItem() + ""));
        proyectoUCC.getObj().setProyectoInvestigacion(proyectoUCC.getProyecto());
        proyectoUCC.getObjetivos().add(proyectoUCC.getObj());
        listObservableObj.clear();
        listObservableObj.addAll(proyectoUCC.getObjetivos());
        tblObjetivos.repaint();
        EditarObjetivo.setVisible(false);
        JOptionPane.showMessageDialog(this, "Objetivo Guardado");
        editarObjetivo = false;
        this.setVisible(true);
    } else {
        JOptionPane.showMessageDialog(this, "Campos Obligatorios Vacíos");
    }
}//GEN-LAST:event_btnGuardarObjetivoActionPerformed

private void btnNuevoDirectorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnNuevoDirectorActionPerformed
    proyectoUCC.setDirector(new DirectorProyecto());
    HistorialDirectores.setVisible(false);
    buscarDocenteInvokes.setVisible(true);
    proyectoUCC.getDirector().setDocente(buscarDocenteInvokes.getElegido());
    try {
        if (proyectoUCC.getDirector().getDocente().getNumeroDocumentoIdentificacion().isEmpty() == false);
        txtDNINuevoDirector.setText(proyectoUCC.getDirector().getDocente().getNumeroDocumentoIdentificacion());
        txtDNINuevoDirectorNombre.setText(proyectoUCC.getDirector().getDocente().getNombres());
        NuevoDirectorProyecto.setLocationRelativeTo(this);
        NuevoDirectorProyecto.setVisible(true);
    } catch (NullPointerException e) {
        HistorialDirectores.setVisible(true);
    }
}//GEN-LAST:event_btnNuevoDirectorActionPerformed

private void btnCancelarEditarDirectorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarEditarDirectorActionPerformed
    NuevoDirectorProyecto.setVisible(false);
    HistorialDirectores.setVisible(true);
}//GEN-LAST:event_btnCancelarEditarDirectorActionPerformed

private void btnAceptarnuevoDirectorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAceptarnuevoDirectorActionPerformed
    try {
        if (dtcFechaInicioDirector.getDate().toString().isEmpty());
        proyectoUCC.getDirector().setFechaInicio(dtcFechaInicioDirector.getDate());
        proyectoUCC.getDirector().setObservacion(txtObservacion.getText().toUpperCase());
        proyectoUCC.getDirector().setProyectoInvestigacion(proyectoUCC.getProyecto());
        proyectoUCC.getDirector().getDocente().getDirectores().add(proyectoUCC.getDirector());
        proyectoUCC.getProyecto().setDniDocente(proyectoUCC.getDirector().getDocente().getNumeroDocumentoIdentificacion());
        if (bandera == true) {
            int i = -1;
            for (DirectorProyecto directorProyecto : proyectoUCC.getDirectores()) {
                i++;
                if (directorProyecto.getDocente().getNumeroDocumentoIdentificacion().equals(proyectoUCC.getDni())) {
                    proyectoUCC.getDirectores().get(i).setFechaFin(proyectoUCC.getDirector().getFechaInicio());
                    proyectoUCC.setDni(proyectoUCC.getDirector().getDocente().getNumeroDocumentoIdentificacion());
                }
            }
        }
        proyectoUCC.getDirectores().add(proyectoUCC.getDirector());
        listObservableDir.clear();
        listObservableDir.addAll(proyectoUCC.getDirectores());
        tblDirectores.repaint();
        txtNombres.setText(proyectoUCC.getDirector().getDocente().getNombres());
        txtApellidos.setText(proyectoUCC.getDirector().getDocente().getApellidos());
        dtcFechaAsignacion.setDate(proyectoUCC.getDirector().getFechaInicio());
        NuevoDirectorProyecto.setVisible(false);
        HistorialDirectores.setVisible(true);
        if(proyectoUCC.getDirectores().size()>=2){
        JOptionPane.showMessageDialog(this, "Nuevo director asignado, director anterior finalizado");
        }
    } catch (NullPointerException e) {
        JOptionPane.showMessageDialog(this, "Campos obligatorios Vacíos");
    }
}//GEN-LAST:event_btnAceptarnuevoDirectorActionPerformed
private void btnAceptarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAceptarActionPerformed
    HistorialDirectores.setVisible(false);
    this.setVisible(true);
}//GEN-LAST:event_btnAceptarActionPerformed

private void btnAsignarNuevoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAsignarNuevoActionPerformed
    proyectoUCC.setAutor(new Autor());
    this.setVisible(false);
    buscarEstudianteInvokes.setVisible(true);
    proyectoUCC.getAutor().setEstudiante(buscarEstudianteInvokes.getElegido());
    try {
        if (proyectoUCC.getAutor().getEstudiante().getNumeroDocumentoIdentificacion().isEmpty() == false);
        txtDNINombreAutor.setText(proyectoUCC.getAutor().getEstudiante().getNumeroDocumentoIdentificacion());
        txtDNIAutor.setText(proyectoUCC.getAutor().getEstudiante().getNombres());
        NuevoAutorProyecto.setLocationRelativeTo(this);
        NuevoAutorProyecto.setVisible(true);
    } catch (NullPointerException e) {
        this.setVisible(true);
    }
}//GEN-LAST:event_btnAsignarNuevoActionPerformed

private void btnAceptarAutorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAceptarAutorActionPerformed
    try {
        if (dtcFechaInicioAutor.getDate().toString().isEmpty());
        proyectoUCC.getAutor().setFechaInicio(dtcFechaInicioAutor.getDate());
        proyectoUCC.getAutor().setProyectoInvestigacion(proyectoUCC.getProyecto());
        proyectoUCC.getAutores().add(proyectoUCC.getAutor());
        proyectoUCC.getAutor().getEstudiante().getAutores().add(proyectoUCC.getAutor());
        listObservableAut.clear();
        listObservableAut.addAll(proyectoUCC.getAutores());
        tblAutor.repaint();
        NuevoAutorProyecto.setVisible(false);
        this.setVisible(true);
    } catch (NullPointerException e) {
        JOptionPane.showMessageDialog(NuevoAutorProyecto, "Campos obligatorios Vacíos");
    }
}//GEN-LAST:event_btnAceptarAutorActionPerformed

private void btnCancelarAutorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarAutorActionPerformed
    NuevoAutorProyecto.setVisible(false);
    this.setVisible(true);
}//GEN-LAST:event_btnCancelarAutorActionPerformed

private void btnRenunciaAutorActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnRenunciaAutorActionPerformed
    renuncia = "AUTOR";
    try {
        String nombreElegijo = tblAutor.getValueAt(tblAutor.getSelectedRow(), 0).toString();
        for (Autor elegido : proyectoUCC.getAutores()) {
            if (elegido.getEstudiante().getNombres().equals(nombreElegijo)) {
                proyectoUCC.setAutor(elegido);
                txtNombresRenuncia.setText(elegido.getEstudiante().getNombres());
                txtApellidosRenuncia.setText(elegido.getEstudiante().getApellidos());
                txtDNIRenuncia.setText(elegido.getEstudiante().getNumeroDocumentoIdentificacion());
                this.setVisible(false);
                RenunciaAutor.setLocationRelativeTo(this);
                txtNumeroResolucion.setVisible(true);
                lblNumero.setVisible(true);
                RenunciaAutor.setVisible(true);
            }
        }
    } catch (ArrayIndexOutOfBoundsException e) {
        JOptionPane.showMessageDialog(this, "Seleccione Autor a Renunciar");
    }

}//GEN-LAST:event_btnRenunciaAutorActionPerformed

private void btnCancelarRenunciaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCancelarRenunciaActionPerformed
    RenunciaAutor.setVisible(false);
    this.setVisible(true);
}//GEN-LAST:event_btnCancelarRenunciaActionPerformed

private void btnAceptarRenunciaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnAceptarRenunciaActionPerformed
    if (txtMotivoRenuncia.getText().isEmpty() == false && dtcFechaRenuncia.getDate().toString().isEmpty() == false) {

//        proyectoUCC.setRenuncia(new Renuncia());
        proyectoUCC.getRenuncia().setFecha(dtcFechaRenuncia.getDate());
        proyectoUCC.getRenuncia().setMotivo(txtMotivoRenuncia.getText().toUpperCase());
        proyectoUCC.getRenuncia().setNumeroResolucion(txtNumeroResolucion.getText().toUpperCase());
        int i = -1;
        for (Autor elegido : proyectoUCC.getAutores()) {
            i++;
            if (elegido.getEstudiante().getNumeroDocumentoIdentificacion().equals(proyectoUCC.getAutor().getEstudiante().getNumeroDocumentoIdentificacion())) {
                proyectoUCC.getAutores().get(i).setRenuncia(proyectoUCC.getRenuncia());
            }
        }
        listObservableDir.clear();
        listObservableDir.addAll(proyectoUCC.getDirectores());
        RenunciaAutor.setVisible(false);
        JOptionPane.showMessageDialog(this, " Renuncia Actualizada:\n\n\tLos Cambios tendrán efecto al GUARDAR el Proyecto.");
        this.setVisible(true);        
        tblDirectores.repaint();
        renuncia = "";        
    } else {
        JOptionPane.showMessageDialog(this, "Campos Obligatorios Vacíos");
    }
}//GEN-LAST:event_btnAceptarRenunciaActionPerformed
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JDialog EditarObjetivo;
    private javax.swing.JDialog HistorialDirectores;
    private javax.swing.JDialog NuevoAutorProyecto;
    private javax.swing.JDialog NuevoDirectorProyecto;
    private javax.swing.JDialog RenunciaAutor;
    private javax.swing.JButton btnAceptar;
    private javax.swing.JButton btnAceptarAutor;
    private javax.swing.JButton btnAceptarRenuncia;
    private javax.swing.JButton btnAceptarnuevoDirector;
    private javax.swing.JButton btnAsignarNuevo;
    private javax.swing.JButton btnCancelar;
    private javax.swing.JButton btnCancelarAutor;
    private javax.swing.JButton btnCancelarEditarDirector;
    private javax.swing.JButton btnCancelarHistorial;
    private javax.swing.JButton btnCancelarObjetivo;
    private javax.swing.JButton btnCancelarRenuncia;
    private javax.swing.JButton btnEditarObjetivo;
    private javax.swing.JButton btnEliminarObjetivo;
    private javax.swing.JButton btnGuardar;
    private javax.swing.JButton btnGuardarObjetivo;
    private javax.swing.JButton btnMostrarHistorial;
    private javax.swing.JButton btnNuevoDirector;
    private javax.swing.JButton btnNuevoObjetivo;
    private javax.swing.JButton btnRenunciaAutor;
    private javax.swing.JComboBox cbxEstado;
    private javax.swing.JComboBox cbxLineaInvestigacion;
    private javax.swing.JComboBox cbxTipo;
    private javax.swing.JComboBox cbxTipoObjetivo;
    private com.toedter.calendar.JDateChooser dtcFechaAsignacion;
    private com.toedter.calendar.JDateChooser dtcFechaFinalizacion;
    private com.toedter.calendar.JDateChooser dtcFechaInicio;
    private com.toedter.calendar.JDateChooser dtcFechaInicioAutor;
    private com.toedter.calendar.JDateChooser dtcFechaInicioDirector;
    private com.toedter.calendar.JDateChooser dtcFechaProrroga;
    private com.toedter.calendar.JDateChooser dtcFechaRenuncia;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane7;
    private javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JLabel lblNumero;
    private org.edisoncor.gui.panel.PanelImage panelImage2;
    private org.edisoncor.gui.panel.PanelImage panelImage3;
    private org.edisoncor.gui.panel.PanelImage panelImage4;
    private org.edisoncor.gui.panel.PanelImage panelImage5;
    private org.edisoncor.gui.panel.PanelImage panelImage6;
    private org.edisoncor.gui.panel.PanelImage panelImage7;
    private org.edisoncor.gui.panel.PanelImage panelImage8;
    private org.edisoncor.gui.panel.PanelImage panelImage9;
    private org.edisoncor.gui.panel.PanelRect panelRect1;
    private org.edisoncor.gui.panel.PanelRect panelRect2;
    private org.edisoncor.gui.panel.PanelRect panelRect4;
    private org.edisoncor.gui.panel.PanelRound panelRound1;
    private org.edisoncor.gui.panel.PanelRound panelRound10;
    private org.edisoncor.gui.panel.PanelRound panelRound3;
    private org.edisoncor.gui.panel.PanelRound panelRound4;
    private org.edisoncor.gui.panel.PanelRound panelRound5;
    private org.edisoncor.gui.panel.PanelRound panelRound6;
    private org.edisoncor.gui.panel.PanelRound panelRound7;
    private org.edisoncor.gui.panel.PanelRound panelRound8;
    private org.edisoncor.gui.panel.PanelRound panelRound9;
    private org.edisoncor.gui.tabbedPane.TabbedPaneVertical tabbedPaneVertical1;
    private javax.swing.JTable tblAutor;
    private javax.swing.JTable tblDirectores;
    private javax.swing.JTable tblObjetivos;
    private org.edisoncor.gui.textField.TextFieldRound txtApellidos;
    private org.edisoncor.gui.textField.TextFieldRound txtApellidosRenuncia;
    private org.edisoncor.gui.textField.TextFieldRound txtDNIAutor;
    private org.edisoncor.gui.textField.TextFieldRound txtDNINombreAutor;
    private org.edisoncor.gui.textField.TextFieldRound txtDNINuevoDirector;
    private org.edisoncor.gui.textField.TextFieldRound txtDNINuevoDirectorNombre;
    private org.edisoncor.gui.textField.TextFieldRound txtDNIRenuncia;
    private javax.swing.JTextArea txtDetalleObjetivo;
    private javax.swing.JTextArea txtMotivoRenuncia;
    private org.edisoncor.gui.textField.TextFieldRound txtNombres;
    private org.edisoncor.gui.textField.TextFieldRound txtNombresRenuncia;
    private org.edisoncor.gui.textField.TextFieldRound txtNumeroResolucion;
    private javax.swing.JTextArea txtObservacion;
    private javax.swing.JTextArea txtObservacionNuevoDirector;
    private org.edisoncor.gui.textField.TextFieldRound txtTag;
    private org.edisoncor.gui.textField.TextFieldRound txtTagObjetivo;
    private org.edisoncor.gui.textField.TextFieldRound txtTema;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
    // End of variables declaration//GEN-END:variables

    private void reemplazarCampos() {
        if (bandera == true) {
            if (proyectoUCC.getProyecto().getDniDocente().isEmpty() == false) {
                for (DirectorProyecto dir : proyectoUCC.getProyecto().getDirectoresProyecto()) {
                    if (proyectoUCC.getProyecto().getDniDocente().equals(dir.getDocente().getNumeroDocumentoIdentificacion())) {
                        txtNombres.setText(dir.getDocente().getNombres());
                        txtApellidos.setText(dir.getDocente().getApellidos());
                        dtcFechaAsignacion.setDate(dir.getFechaInicio());
                    }
                }
            } else {
                JOptionPane.showMessageDialog(this, "El proyecto no cuenta con un Director de Proyecto asignado.");
            }
        }
        listAut.clear();
        listDir.clear();
        listObj.clear();
        listObservableAut.clear();
        listObservableDir.clear();
        listObservableObj.clear();
        proyectoUCC.getAutores().clear();
        proyectoUCC.getDirectores().clear();
        proyectoUCC.getObjetivos().clear();
        txtTema.setText(proyectoUCC.getProyecto().getTema());
        txtTag.setText(proyectoUCC.getProyecto().getTags());
        txtObservacion.setText(proyectoUCC.getProyecto().getObservacion());
        cbxEstado.setSelectedItem(proyectoUCC.getProyecto().getM_EstadoProyecto() + "");
        cbxTipo.setSelectedItem(proyectoUCC.getProyecto().getM_TipoProyectoInvestigacion() + "");
        proyectoUCC.getDirectores().addAll(proyectoUCC.getProyecto().getDirectoresProyecto());
        proyectoUCC.getAutores().addAll(proyectoUCC.getProyecto().getAutores());
        proyectoUCC.getObjetivos().addAll(proyectoUCC.getProyecto().getObjetivos());
        listObservableDir.addAll(proyectoUCC.getProyecto().getDirectoresProyecto());
        listObservableAut.addAll(proyectoUCC.getProyecto().getAutores());
        listObservableObj.addAll(proyectoUCC.getProyecto().getObjetivos());
        proyectoUCC.setDni(proyectoUCC.getProyecto().getDniDocente());
        proyectoUCC.setLinea(proyectoUCC.getProyecto().getLineaInvestigacion());
        cbxLineaInvestigacion.setSelectedItem(proyectoUCC.getProyecto().getLineaInvestigacion().getNombre() + "");
        dtcFechaInicio.setDate(proyectoUCC.getProyecto().getCronograma().getFechaInicio());
        dtcFechaFinalizacion.setDate(proyectoUCC.getProyecto().getCronograma().getFechaFin());
        dtcFechaAsignacion.setDate(proyectoUCC.getProyecto().getCronograma().getFechaInicio());
        tblAutor.repaint();
        tblObjetivos.repaint();
        tblDirectores.repaint();
    }

    private boolean camposObligatoriosVacios() {
        boolean campos = false;
        try {
            if (txtTema.getText().isEmpty() && proyectoUCC.getAutores().isEmpty() && proyectoUCC.getObjetivos().isEmpty() && proyectoUCC.getDirectores().isEmpty() && dtcFechaAsignacion.getDate().toString().isEmpty()) {
                campos = true;
            }
        } catch (NumberFormatException e) {
            campos = true;
        } catch (StringIndexOutOfBoundsException e) {
            campos = true;
        } catch (NullPointerException e) {
            campos = true;
        }
        return campos;
    }

    private void guardarDatos() {
        proyectoUCC.getProyecto().setFechaCulminacion(dtcFechaFinalizacion.getDate());
        proyectoUCC.getProyecto().setObservacion(txtObservacion.getText().toUpperCase());
        proyectoUCC.getProyecto().setTags(txtTag.getText().toUpperCase());
        proyectoUCC.getProyecto().setTema(txtTema.getText().toUpperCase());
        proyectoUCC.getProyecto().setM_TipoProyectoInvestigacion(TipoProyectoInvestigacion.valueOf(cbxTipo.getSelectedItem().toString()));
        proyectoUCC.getProyecto().setM_EstadoProyecto(EstadoProyecto.valueOf(cbxEstado.getSelectedItem().toString()));
        proyectoUCC.getProyecto().setLineaInvestigacion(proyectoUCC.getLinea());
        if (bandera == false) {
            proyectoUCC.getProyecto().getLineaInvestigacion().getProyectosInvestigacion().add(proyectoUCC.getProyecto());
            proyectoUCC.setCronograma(new Cronograma());
        }

        try {
            if (dtcFechaProrroga.getDate().toString().isEmpty() == false) {
                proyectoUCC.getCronograma().setFechaProrroga(dtcFechaProrroga.getDate());
            }
        } catch (NullPointerException e) {
        }
        proyectoUCC.getCronograma().setFechaInicio(dtcFechaInicio.getDate());
        proyectoUCC.getCronograma().setFechaFin(dtcFechaFinalizacion.getDate());
        proyectoUCC.getProyecto().setCronograma(proyectoUCC.getCronograma());
        proyectoUCC.getProyecto().getObjetivos().clear();
        proyectoUCC.getProyecto().getAutores().clear();
        proyectoUCC.getProyecto().getDirectoresProyecto().clear();
        proyectoUCC.getProyecto().getObjetivos().addAll(proyectoUCC.getObjetivos());
        proyectoUCC.getProyecto().getAutores().addAll(proyectoUCC.getAutores());
        proyectoUCC.getProyecto().getDirectoresProyecto().addAll(proyectoUCC.getDirectores());
    }
    private List<DirectorProyecto> listDir = new ArrayList();
    private ObservableList<DirectorProyecto> listObservableDir = org.jdesktop.observablecollections.ObservableCollections.observableList(listDir);
    private List<Autor> listAut = new ArrayList();
    private ObservableList<Autor> listObservableAut = org.jdesktop.observablecollections.ObservableCollections.observableList(listAut);
    private List<Objetivo> listObj = new ArrayList();
    private ObservableList<Objetivo> listObservableObj = org.jdesktop.observablecollections.ObservableCollections.observableList(listObj);

    public List<Autor> getListAut() {
        return listAut;
    }

    public void setListAut(List<Autor> listAut) {
        this.listAut = listAut;
    }

    public List<DirectorProyecto> getListDir() {
        return listDir;
    }

    public void setListDir(List<DirectorProyecto> listDir) {
        this.listDir = listDir;
    }

    public List<Objetivo> getListObj() {
        return listObj;
    }

    public void setListObj(List<Objetivo> listObj) {
        this.listObj = listObj;
    }

    public ObservableList<Autor> getListObservableAut() {
        return listObservableAut;
    }

    public void setListObservableAut(ObservableList<Autor> listObservableAut) {
        this.listObservableAut = listObservableAut;
    }

    public ObservableList<DirectorProyecto> getListObservableDir() {
        return listObservableDir;
    }

    public void setListObservableDir(ObservableList<DirectorProyecto> listObservableDir) {
        this.listObservableDir = listObservableDir;
    }

    public ObservableList<Objetivo> getListObservableObj() {
        return listObservableObj;
    }

    public void setListObservableObj(ObservableList<Objetivo> listObservableObj) {
        this.listObservableObj = listObservableObj;
    }

    public boolean isBandera() {
        return bandera;
    }

    public void setBandera(boolean bandera) {
        this.bandera = bandera;
    }
}
